package Test;
//20230404430920沈泽华
public class Student {
    private int num;
    private String name;
    private int score;

    public Student(int num, String name, int score) {
        this.num = num;
        this.name = name;
        this.score = score;
    }

    public int getScore() {
        return score;
    }

    @Override
    public String toString() {
        return "录取的学生编号为：" + num +
                ", 姓名为：" + name +
                ",分数为：" + score +
                '\n';
    }
}
